package com.yy.util.log;

import android.util.Log;

/**
 * Created by Administrator on 2015/6/9.
 */
public final class AppLog {

    public static final boolean DEBUG = true;
    public static final boolean VERBOSE = true;
    public static final boolean INFO = true;
    public static final boolean WARN = true;
    public static final boolean ERROR = true;
    public static final boolean ASSERT = true;

    public final static void d(Object tag, String message) {
        if (DEBUG) {
            Log.d(tag.getClass().getSimpleName(), message);
        }
    }

    public final static void v(Object tag, String message) {
        if (VERBOSE) {
            Log.d(tag.getClass().getSimpleName(), message);
        }
    }

    public final static void i(Object tag, String message) {
        if (INFO) {
            Log.d(tag.getClass().getSimpleName(), message);
        }
    }

    public final static void w(Object tag, String message) {
        if (WARN) {
            Log.d(tag.getClass().getSimpleName(), message);
        }
    }

    public final static void e(Object tag, String message) {
        if (ERROR) {
            Log.d(tag.getClass().getSimpleName(), message);
        }
    }

    public final static void a(Object tag, String message) {
        if (ASSERT) {
            Log.d(tag.getClass().getSimpleName(), message);
        }
    }

}
